Cross-platform setup -- Unix side

This section goes through the steps that you must complete on Unix for configuring SNiFF+ for cross-platform development.
Initial remarks
As part of this step-by-step guide, we will first create the directory structure for the SNiFF+ cross-platform project on a Unix machine. Note that this directory must be made accessible to Windows machine(s) via NFS or LanManager.
Working environment structure
In the steps that follow, we assume that the directory

/Projects/work/cross
contains the individual root directories of the repository working environment (RWE), shared source working environment (SSWE) and shared object working environment (SOWE)
/Projects/work/cross/rwe
/Projects/work/cross/sswe
/Projects/work/cross/sowe
The root directory of each individual private working environment (PWE) is assumed to be
$HOME/Project1/cross
The environment variable $HOME refers to the home directories of the individual users (two on Unix, the other two on Windows). Assuming that all user home directories are located under /Users on Unix and D:\Users on Windows:
HOME = /Users/user1
HOME = /Users/user2
HOME = D:\Users\user3
HOME = D:\Users\user4
Project source files
The source files of the COMPLEX project are in the SSWE root directory.
Summary of the directory structure
Here's a summary of the directory structure we'll be working with:

/Projects/work/cross
/rwe
/sowe
/sswe
/complex
/iolib
/complexlib

Each developer's private working environment root directory is:

$HOME/Project1/cross
$HOME is set to each individual's home directory.
Setting necessary variables, links and permissions
We are now ready to set the variables, links and permissions necessary on the Unix side for cross-platform development.

- Start a shell (e.g,

bash , csh )
In the shell

Set an environment variable named

WS_CROSS to /Projects/work/cross . Remember that /Projects/work/cross contains the individual root directories of the RWE, SSWE and SOWE.
By setting an environment variable to /Projects/work/cross , you can use it to refer to the directory on both Windows and Unix without having to change any project and working environment attributes.
Launch SNiFF+.
In SNiFF+

Choose Tools > Preferences... in any open SNiFF+ tool.
The Preferences dialog appears.
Select the Tools > Working Environments node.
Enter

$WS_CROSS in the Working Environment Config. Directory field.
Your working environment files will be stored in the directory specified by $WS_CROSS .
Select the Platform node.
Select the Make Support tab, make sure that the Make command in the Make Command field is set correctly.

| Note
| For the Make command to be executed, the Make Command field in the Build Options view of the Project Attributes dialog must be empty.

- Quit SNiFF+.